import type { CategroyResult } from '@/types/categroy'
import { http } from '@/utils/https'

export const getCategoryAPI = () => {
  return http<CategroyResult[]>({
    url: '/category/top',
  })
}
